/*
 * formulario.h
 *
 *  Created on: 08/12/2008
 *      Author: desadoc
 */

#ifndef FORMULARIO_H_
#define FORMULARIO_H_

#include <QWidget>
#include <QList>
#include <QString>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QLabel>
#include <QLineEdit>

#include "registry.h"

class formulario : public QWidget {

	private:

		int num;
		registry data;

	public:

		formulario(int n){setNum(n);}
		void setNum(int n){num=n;}
		void setFields(QList<QString>& questions);
};

#endif /* FORMULARIO_H_ */
